package com.metis.document.parse.dialog.models.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class JsonContentVO {
    //内容编号
    @JsonProperty("section_id")
    private Integer sectionId;
    //章节标题级别
    @Builder.Default
    @JsonProperty("title_level")
    private Object titleLevel = "";
    //段落标题
    @Builder.Default
    @JsonProperty("section_title")
    private String sectionTitle = "";
    //章节标题,目前没有章节标题
    @Builder.Default
    @JsonProperty("origin_title")
    private String originTitle = "";
    //章节内容,段落之间使用"\n"拼接
    @Builder.Default
    @JsonProperty("section_content")
    private String sectionContent= "";

    @Builder.Default
    @JsonProperty("start_x")
    private Double startX = 0.0;
    @Builder.Default
    @JsonProperty("start_y")
    private Double startY = 0.0;
    @Builder.Default
    @JsonProperty("page_num")
    private Integer pageNum = 0;
    @Builder.Default
    @JsonProperty("rate")
    private String rate ="";
}
